package com.yanqu.backendweb.entity;

import java.io.Serializable;

/**
 * @author duli
 * @version 1.0
 * @date 2020/9/23 9:57
 * @Description 数据库信息
 */
public class TSDbInfo implements Serializable {


    private static final long serialVersionUID = -5087208909057235468L;
    private Integer serverId;

    private String userDatabase;

    private String logDatabase;

    private String configDatabase;

    private String crossDatabase;


    public Integer getServerId() {
        return serverId;
    }

    public void setServerId(Integer serverId) {
        this.serverId = serverId;
    }

    public String getUserDatabase() {
        return userDatabase;
    }

    public void setUserDatabase(String userDatabase) {
        this.userDatabase = userDatabase;
    }

    public String getLogDatabase() {
        return logDatabase;
    }

    public void setLogDatabase(String logDatabase) {
        this.logDatabase = logDatabase;
    }

    public String getConfigDatabase() {
        return configDatabase;
    }

    public void setConfigDatabase(String configDatabase) {
        this.configDatabase = configDatabase;
    }

    public String getCrossDatabase() {
        return crossDatabase;
    }

    public void setCrossDatabase(String crossDatabase) {
        this.crossDatabase = crossDatabase;
    }

    @Override
    public String toString() {
        return "TSDbInfo{" +
        "serverId=" + serverId +
        ", userDatabase=" + userDatabase +
        ", logDatabase=" + logDatabase +
        ", configDatabase=" + configDatabase +
        ", crossDatabase=" + crossDatabase +
        "}";
    }
}
